Carbon


PBGetUGEntrySync

Header: Files.h Carbon status: Supported

Gets a list of user and group entries from the local file server.

OSErr PBGetUGEntrySync (
    HParmBlkPtr paramBlock
);
Parameter descriptions
paramBlock

A pointer to an objParam variant of an HFS parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

The PBGetUGEntrySync function returns the name and ID of the user or group whose name is alphabetically next to that of the user or group whose ID is contained in the ioObjID field. You can enumerate the users or groups in alphabetical order by setting ioObjID to 0 and then repetitively calling PBGetUGEntrySync with the same parameter block until the result code fnfErr is returned.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)